package com.amarsoft.are.log;

import com.amarsoft.are.lang.StringX;
public class InnerLog
  implements Log
{
  private String name = "com.amarsoft.are.InnerLog";

  public String getName()
  {
    return this.name;
  }

  protected InnerLog()
  {
  }

  protected InnerLog(String paramString)
  {
    if (StringX.isSpace(paramString))
      return;
    this.name = StringX.trimAll(paramString);
  }

  private void print2Err(Object paramObject)
  {
    System.err.println(paramObject);
  }

  private void print2Out(Object paramObject)
  {
    System.out.println(paramObject);
  }

  private void print2Err(Object paramObject, Throwable paramThrowable)
  {
    System.err.println(paramObject);
    paramThrowable.printStackTrace(System.err);
  }

  private void print2Out(Object paramObject, Throwable paramThrowable)
  {
    System.err.println(paramObject);
    paramThrowable.printStackTrace(System.err);
  }

  public final boolean isDebugEnabled()
  {
    return true;
  }

  public final boolean isErrorEnabled()
  {
    return true;
  }

  public final boolean isFatalEnabled()
  {
    return true;
  }

  public final boolean isInfoEnabled()
  {
    return true;
  }

  public final boolean isTraceEnabled()
  {
    return true;
  }

  public final boolean isWarnEnabled()
  {
    return true;
  }

  public void trace(Object paramObject)
  {
    print2Err(paramObject);
  }

  public void trace(Object paramObject, Throwable paramThrowable)
  {
    print2Err(paramObject, paramThrowable);
  }

  public void debug(Object paramObject)
  {
    print2Err(paramObject);
  }

  public void debug(Object paramObject, Throwable paramThrowable)
  {
    print2Err(paramObject, paramThrowable);
  }

  public void info(Object paramObject)
  {
    print2Out(paramObject);
  }

  public void info(Object paramObject, Throwable paramThrowable)
  {
    print2Out(paramObject, paramThrowable);
  }

  public void warn(Object paramObject)
  {
    print2Out(paramObject);
  }

  public void warn(Object paramObject, Throwable paramThrowable)
  {
    print2Out(paramObject, paramThrowable);
  }

  public void error(Object paramObject)
  {
    print2Out(paramObject);
  }

  public void error(Object paramObject, Throwable paramThrowable)
  {
    print2Out(paramObject, paramThrowable);
  }

  public void fatal(Object paramObject)
  {
    print2Out(paramObject);
  }

  public void fatal(Object paramObject, Throwable paramThrowable)
  {
    print2Out(paramObject, paramThrowable);
  }
}

/* Location:           D:\办公软件\反编译工具\jar\are-1.0b96.jar
 * Qualified Name:     com.amarsoft.are.log.InnerLog
 * JD-Core Version:    0.5.3
 */